@csrf_exempt
def delChannelCode(request):
    data = request.POST
    id = data.get('id')
    print id
    content = ChannelListConfig.objects.get(id=id)
    print content
    if content:
        content.isdel = 1
        content.save()
    response_data = {"code": 200, "msg": "删除成功"}
    return JsonResponse(response_data)